<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import { updateSubjectList } from './utils/maps';
export default {
  methods: {

  },
  async created() {
    const res = await this.$api.getSchoolSubject();
    updateSubjectList(res);
  },
}

</script>
<style lang="less">
#app {
  width: 100vw;
  height: 100vh;
}
</style>
